﻿namespace FU.Capstones.IMS.Web.Common
{
    public class WebConstants
    {
        public const int MagicNumer = 1;

        public const string ServiceConfigurationName = "FU.Capstones.IMS.Web.Common.InventoryServiceProxy.OperationContracts.IInventoryService";
        public const string ServiceNamespace = "http://www.ims.com";
        public const string ServiceName = "InventoryService";
        public const string EmailRegex = @"\b[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b";
        public const string UsernameRegex = @"\b[a-z]{4,}[0-9]*\b";
        public const string CodeRegex = @"\b[A-Z]+[0-9]*\b";
        public const string ICNRegex = @"\b[0-9]{9}\b";
        public const string InvalidInputDataMessage = "Dữ liệu nhập vào chưa phù hợp!";
        public const string LoadingMessage = "Đang tải dử liệu từ máy chủ...";
        public const string SearchingMessage = "Đang gửi và nhận thông tin từ máy chủ...";

        public class NavigationPages
        {
            public const string LoginPage = "/Views/LoginPage";
            public const string HomePage = "/Views/HomePage";

            //--Employee Management 
            public const string EmployeeList = "/Views/EmployeeList";
            public const string EmployeeDetail = "/Views/EmployeeDetail";

            public const string RoleList = "/Views/RoleList";
            public const string RoleDetail = "/Views/RoleDetail";

            public const string EmploymentTypeList = "/Views/EmploymentTypeList";
            public const string EmploymentTypeDetail = "/Views/EmploymentTypeDetail";

            //--General Management
            public const string WarehouseList = "/Views/WarehouseList";
            public const string WarehouseDetail = "/Views/WarehouseDetail";

            public const string MaterialList = "/Views/MaterialList";
            public const string MaterialDetail = "/Views/MaterialDetail";

            public const string ProductList = "/Views/ProductList";
            public const string ProductDetail = "/Views/ProductDetail";

            //--Partner Management
            public const string PartnerList = "/Views/PartnerList";
            public const string PartnerDetail = "/Views/PartnerDetail";

            //--Order Management
            public const string ProductOrderList = "/Views/ProductOrderList";
            public const string ProductOrderDetail = "/Views/ProductOrderDetail";
            public const string ExportProductOrder = "/Views/ExportProductOrder";
            public const string ProductExport = "/Views/ProductExport";
            public const string ProductLoafImport = "/Views/ProductLoafImport";

            public const string MaterialOrderList = "/Views/MaterialOrderList";
            public const string MaterialOrderDetail = "/Views/MaterialOrderDetail";
            public const string MaterialExport = "/Views/MaterialExport";
            public const string MaterialImport = "/Views/MaterialImport";
            public const string ExportMaterialOrder = "/Views/ExportMaterialOrder";
            public const string OrderDetail = "/Views/OrderDetail";

            //User Info
            public const string UserInfoPage = "/Views/UserInfo";
            public const string ChangePasswordPage = "/Views/ChangePassword";
            
           


        } 
    }
}
